package domain;

//date：日期，代表这个用户点击行为是在哪一天发生的
//        action_time ：这个点击行为发生的时间点
//        user_id：代表这个点击行为是哪一个用户执行的(userid1-userid20)
//        session_id ：唯一标识了某个用户的一个访问(session1-session20)
//        page_id ：点击了某些商品/品类，页面的id(page1-page10)
//        click_product_id ：点击商品的id；(pid1_1-pid10_1)(pid1_5-pid10_5)
//        city_id:点击所在的城市(city1-city10)
public class VisitAction {
    private String date;
    private String actionTime;
    private String userId;
    private String sessionId;
    private int pageId;
    private String clickProductId;
    private String cityId;

    public VisitAction(String date, String actionTime,
                       String userId, String sessionId,
                       int pageId, String clickProductId,
                       String cityId) {
        this.date = date;
        this.actionTime = actionTime;
        this.userId = userId;
        this.sessionId = sessionId;
        this.pageId = pageId;
        this.clickProductId = clickProductId;
        this.cityId = cityId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getActionTime() {
        return actionTime;
    }

    public void setActionTime(String actionTime) {
        this.actionTime = actionTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public int getPageId() {
        return pageId;
    }

    public void setPageId(int pageId) {
        this.pageId = pageId;
    }

    public String getClickProductId() {
        return clickProductId;
    }

    public void setClickProductId(String clickProductId) {
        this.clickProductId = clickProductId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }
}
